function initLeftPanel(){
	var endeventbarPanel = new Ext.Panel({
		 xtype:'panel',
		 region:'center',
		 html:'<div id="endeventbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div>'
	});
	leftPanel = new Ext.TabPanel({
        region:'west',
        headerPosition:'top',
        tabPosition:'left',
        title:'流程设计器',
        /*hideCollapseTool:false,
        collapsible:true,
        layout:'hbox',
        border:false,
        split:false,
        autoScroll:false,*/
        id:'leftPanel',        
        width:220,
        autoScroll:false,
		tabPosition:'left',
		tabRotation:0,
		deferredRender:false,
		activeTab:0,  
        /*
        layout:{
			type:'accordion',
			animate:true
		},
		*/
		header:{
        	titleAlign:'left',
        	cls:'x-panel-header-defined'
        },
		items:[
			  /**
			  {
				 header:{
	                  titleAlign:'center'
	             },
				 title:'连线选择',
				 html:'<div id="linebar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:27px;cursor:pointer;"></div>'
			   },
			   **/
			   {
			   	 /*header:{
	                  titleAlign:'center'
	             },
	             hideCollapseTool:false,*/
				 title:'开始事件',
				 layout:'border',
				 items:[{
					 xtype:'panel',
					 region:'center',
					 html:'<div id="starteventbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div>'
				 }]
			   },
			   {
			   	 /*header:{
	                  titleAlign:'center'
	                  hideCollapseTool:false,
	             },*/
				 title:'结束事件',
				 layout:'border',
				 items:endeventbarPanel
			   },
			   {
			    /* header:{
	                  titleAlign:'center'
	                  hideCollapseTool:false,
	             },*/
				 title:'任务类型',
				 layout:'border',
				 items:[{
					 xtype:'panel',
					 region:'center',
					 html:'<div id="taskbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div>'
				 }]
			   },
			   /*{
			     header:{
	                  titleAlign:'center'
	             },
				 title:'其它任务',
				 hideCollapseTool:false,
				 html:'<div id="taskbarOther" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div>'
			   },*/
			   {
			     /*header:{
	                  titleAlign:'center'
	             },
	             hideCollapseTool:false,*/
				 title:'容器管理',
				 layout:'border',
				 items:[{
					 xtype:'panel',
					 region:'center',
					 html:'<div id="rqbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div>'
				 }]
			   },
			   {
			     /*header:{
	                  titleAlign:'center'
	             },
	             hideCollapseTool:false,*/
				 title:'默认网关',
				 layout:'border',
				 items:[{
					 xtype:'panel',
					 region:'center',
					 html:'<div id="defaultwebbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div> '
				 }]
			   },
			   {
			     /*header:{
	                  titleAlign:'center'
	             },
	             hideCollapseTool:false,*/
				 title:'边界事件',
				 layout:'border',
				 items:[{
					 xtype:'panel',
					 region:'center',
					 html:'<div id="bjwebbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div> '
				 }]
			   },
			   {
			     /*header:{
	                  titleAlign:'center'
	             },
	             hideCollapseTool:false,*/
				 title:'中间事件',
				 layout:'border',
				 items:[{
					 xtype:'panel',
					 region:'center',
					 html:'<div id="zjwebbar" style="background:white; color:white;position:absolute;overflow:auto;height:100%;width:100%;padding-left:7px;cursor:pointer;"></div> '
				 }]
			   }]
   	});
}